export interface IAvatar {
    id:number,
    name:string,
    mime:string,
    path:string,
    is_foreign:boolean,
    is_directory:boolean,
    parent:null,
    children:null,
    owner_club:null,
    description?:string,
    created_at:string,
    updated_at:string,
    DeleteAt?:null,
}
export interface IClubRsp {
  id: number;
  name: string;
  introduction: string;
  location: string;
  address: string;
  primary_color: string;
  created_at: string;
  updated_at: string;
  outer_visible: boolean;
  inner_visible: boolean;
  owner_assets?: any;
  favicon?: any;
  cover_image?: any;
  leaders?: any;
  page?: any;
  user_struct?: any;
  department?: any;
}
export interface IUserRsp{
    id:number,
    nickname:string,
    name?:string,
    gender:number,
    birthday?:string,
    email?:string,
    qq?:string,
    wechat?:string,
    comments?:string,
    created_at:string,
    updated_at:string,
    DeleteAt?:string,
    actors?:string,
    avatar:IAvatar
}
export interface IMarkReadListNode {
    message_id:number
    user_id:number
    created_at:string
}
export interface IMessageRsp {
    id:number
    title:string
    content?:string
    extra:any
    created_at:string
    updated_at:string
    receive:any
    mark_read_list:IMarkReadListNode[]
}
export interface IPageInfoRsp {
    current_page:number,
    current_size:number,
    has_next_page: boolean,
    has_prev_page:boolean,
}


export interface IStatusTree {
  id: number;
  title: string;
  type: number;
  primary_color: string;
  is_default_success: boolean;
  is_default_failure: boolean;
  children?: IStatusTree[];
}

export interface IRspApplication {
  id: number;
  content: any;
  source_form: any;
  form: any;
  user_domain: IUserRsp;
  status: IStatusTree;
  next_update_time: string;
  created_at: string;
  updated_at: string;
}